package com.ebc.eservice.vo.card.Manage;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author: Joey
 * @Description: 员工管理 员工列表信息
 * @date:2022/9/29 23:29
 */
@Data
public class StaffStatListVo {
    //员工id、姓名、部门、岗位、访客、客户、活跃、留言、名片保存、添加通讯录、次均停留、创建时间、创建人
    @ApiModelProperty(value = "标识-客户数" ,example ="1")
    private Integer flag;
    @ApiModelProperty(value = "名片id" ,example ="1")
    private Integer cardId;
    @ApiModelProperty(value = "员工账户id" ,example ="1")
    private Integer staffId;
    @ApiModelProperty(value = "员工姓名" ,example ="1")
    private String staffName;
    @ApiModelProperty(value = "部门",example ="1")
    private String sectorName;
    @ApiModelProperty(value = "二级部门",example ="1")
    private String sectorChildName;
    @ApiModelProperty(value = "岗位",example ="1")
    private String staffPosition;
    @ApiModelProperty(value = "聚合统计-客户",example ="1")
    List<staffClientDTO> clientNum;
    @ApiModelProperty(value = "聚合统计-访客、活跃、留言、名片保存、添加通讯录、次均停留",example ="1")
    private List<CardStatDTO> cardStatDTO;
    @ApiModelProperty(value = "创建时间",example ="1")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")//HH:mm:ss
    private Date createTime;
    @ApiModelProperty(value = "创建人",example ="1")
    private String creator;

}
